package com.usefullc.crawler.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.crawler.domain.ActiveProcess;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.DictField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import com.usefullc.system.service.component.extend.ApiField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爬虫活动流程返回实体
 * @author: 星空
 * @date: 2022-12-14
 */
@Data
public class ActiveProcessVo extends BaseDomain {

//useful_auto_generate_section_start


    @ApiModelProperty(notes = "数据状态（0 不存在，1 存在）")
    private Boolean delState;


    @ApiModelProperty(notes = "ID")
    private Long id;


    @ApiModelProperty(notes = "进程名称")
    private String name;

    @EnumField(value = "processStatusEnum")
    @ApiModelProperty(notes = "状态（0 进程中；1 成功；2 失败 ）")
    private Integer status;


    @ApiField(url = "/crawler/template/listAll", id = "id", value = "name")
    @ApiModelProperty(notes = "模板")
    private Long templateId;

    @UsefulField(format = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(notes = "数据创建时间")
    private Date gmtCreate;

    @UsefulField(format = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(notes = "数据最后修改时间")
    private Date gmtModified;

    @ApiModelProperty(notes = "变量")
    private String variables;

//useful_auto_generate_section_end


}
